Skip to main content

MQ Connector

Java Message Service (JMS Connector) enables sending and receiving messages to queues and topics for any message service that implements the JMS specification. JMS is a widely used API for message-oriented middleware. It enables the communication between different components of a distributed application to be loosely coupled, reliable, and asynchronous. The main features of JMS Connector include:

Publish and subscribe pattern support on any given destination

Listen and reply pattern support on any given destination

Publish and consume pattern support on any given destination, with a fixed or temporary reply queue

Drag and drop the MQ Connector

MQ Connector

Configuring MQ Connector

left click on connector, you can define the MQ Connector configration

Write MQ Operation

To perform write operation on MQ, provide queue name and input payload.

Write MQ Operation
FieldsDescriptionExample
TypeRead/WriteWrite
Datasource NameDatasource Name which is configured in connections propertiessampleds
Queue NameName of the queuesample
InputInput to the connectorsTransformedOutput

Read MQ Operation

To perform read operation on MQ, provide queue name and output payload. Please select operation(MOVE or DELETE) to define further course of action for the message read from the queue.

Read MQ Operation
FieldsDescriptionExample
TypeRead/WriteRead
Datasource NameDatasource Name which is configured in connections properties Please refer the link for instructions on creating the datasource namesampleds
Queue NameName of the Queuesample
OutputOutput
OperationWhat Operations we want to perform using MQ connectorsRest_output
JMS Properties

Retry

Retry is flag passed on connector nodes, like MQ, to allow the step to be retryable if any exception occurs. It has 2 configurable properties.

  1. maxRetryAttempts: The max number of retries if any exception occurs. max attempts are 3.
  2. retryIntervalMillis: The max interval between retries. Max range is 6000ms.

Enable retry by cliking on the Enable Retry radio button at the top of the configuration pannel.

PAYLOAD transformer